﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Application;
using Data;

namespace Business
{
    public static class BusinessParagraph
    {
        public static void AddParagraph(VOParagraph paragraph)
        {
            ParagraphData.AddParagraph(paragraph);
        }

        public static List<VOParagraph> GetAllParagraphs()
        {
            return ParagraphData.GetAllParagraphs();
        }

        public static VOParagraph GetParagraphById(string id)
        {
            return ParagraphData.GetParagraphById(id);
        }
        
        public static void UpdateParagraph(VOParagraph paragraph)
        {
            ParagraphData.UpdateParagraph(paragraph);
        }

        public static Boolean DeleteParagraph(string id)
        {
            return false;
        }
    }
}
